<html>

	<head>
		<meta charset="UTF-8">
		<title>打印商品发货单</title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/print.css">
		<script type="text/javascript" src="../../../JS/common.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
	</head>

	<body>
		<div class="div_print_info_portait">
			<h1 align="center">绵阳市高水农副产品批发有限公司</h1>
			<h1 align="center">固定商户信息</h1>
			<form id="ff" method="post">
				<table cellpadding="5" class="altrowstable printtable">
					<td rowspan="7" colspan="2" width="30%">
						<div style="border-style: solid;border-width: 1px;border-color: #95B8E7;border-radius: 5px;width:105px;height: 150px;margin: auto;" id="div_photo">
							<img id="img" style="width: 100%;height: 100%;overflow: hidden;" />
						</div>
					</td>
					<tr>
						<td width="14%">租户姓名</td>
						<td width="20%">
							<input type="text" class="print_text_style" name="NAME" />
						</td>
						<td width="14%">性别</td>
						<td width="20%">
							<input type="text" class="print_text_style" name="GENDER" />
						</td>
					</tr>
					<tr>
						<td>联系电话</td>
						<td>
							<input type="text" class="print_text_style" name="TELEPHONE" />
						</td>
						<td>入场时间</td>
						<td>
							<input type="text" class="print_text_style" name="ENTRANCE_TIME" />
						</td>
					</tr>
					<tr>
						<td>身份证号码</td>
						<td>
							<input type="text" class="print_text_style" name="IDCARD" />
						</td>
						<td>暂住证号码</td>
						<td>
							<input type="text" class="print_text_style" name="TEMPORARY_NO" />
						</td>
					</tr>
					<tr>
						<td>营业执照类型</td>
						<td>
							<input type="text" class="print_text_style" name="BUSINESS_TYPE" />
						</td>
						<td>营业执照</td>
						<td>
							<input type="text" class="print_text_style" name="BUSINESS_NO" />
						</td>
					</tr>
					<tr>
						<td>卫生许可证</td>
						<td>
							<input type="text" class="print_text_style" name="HYGIENE_NO" />
						</td>
						<td>税务登记号</td>
						<td>
							<input type="text" class="print_text_style" name="TAX_ID" />
						</td>
					</tr>

				</table>

				<table class="altrowstable printtable">
					<tr>
						<td width="15%">紧急联系人</td>
						<td width="35%">
							<input type="text" class="print_text_style" name="CONTACT_NAME1" />
						</td>
						<td width="15%">联系电话</td>
						<td width="35%">
							<input type="text" class="print_text_style" name="CONTACT_TEL1" />
						</td>
					</tr>
					<tr>
						<td>户籍地址</td>
						<td>
							<input type="text" class="print_text_style" name="RESIDENCE_ADDR" />
						</td>
						<td>现住址</td>
						<td>
							<input type="text" class="print_text_style" name="ADDR" />
						</td>
					</tr>
					<tr>
						<td>从业人员</td>
						<td>
							<input type="text" class="print_text_style" name="STAFF" />
						</td>
						<td>经营范围</td>
						<td>
							<input type="text" class="print_text_style" name="BUSINESS_SCOPE" />
						</td>
					</tr>
				</table>
			</form>
		</div>
	</body>
	<script type="text/javascript">
		var photo = "";
		var id = getID();
		$(document).ready(function(){
			loadRemote();
		});

		function loadRemote() {
			$('#ff').form('load', RemoteLinkAddress + '/market/tenant/findbyid.do?TYPE=0&ID=' + id);
			$.ajax({
				type: "get",
				url: RemoteLinkAddress + '/market/tenant/findbyid.do?TYPE=0&ID=' + id,
				dataType: "json",
				success: function(result) {
					if(result != null) {
						if(result.PHOTO == undefined) {
							result.PHOTO = "";
						}
						photo = result.PHOTO;
						$("#img").attr("src", photo);
					}
				}
			});
		}

		function pageprint() {
			if(confirm("是否打印")) {
				print();
			}
		}
	</script>

</html>